package cn.stu.common.utils;

/**
 * 系统常量
 *
 * @author 郑志豪
 * @date 2023/09/14
 */
public class SystemConstants {


    public static final String IMAGE_USERS_DEFAULT_DIR = "/user-avatar/default.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20230714%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230714T074433Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=cee41b0864a0b40de4ad314c34ff7677f99cf8c5524a11cd9a3242b01a1006fe";
    public static final Long LOGIN_USER_TTL = 5000L;
    public static final String LOGIN_USER_KEY = "login:token:";
    public static final Long CACHE_RANDOM_TTL = 999L;

    public static final Long CACHE_MD5_TTL = 8192L;

    public static final String CACHE_MD5 = "md5:";
}
